<!--
    派单缘由配置
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:replace="common/common :: jscss"/>
    <title>派单缘由配置</title>
    <style>
        .layui-form-select {
            display: inline-block;
            vertical-align: middle;
            position: relative;
            margin-right: 10px;
            float: left;
            width: 155px !important;
        }
    </style>
</head>
<body>

<div class="layui-fluid work-list-page conf-page">
    <div class="layui-card">
        <div class="layui-card-body">

            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <!-- 查询表单 -->
                    <form class="search-form" method="post" lay-filter="zmn-work-form">
                        <div class="layui-form layui-margin-t"
                             th:include="conf/distributereason/_query :: query "></div>
                    </form>
                </div>
            </div>

            <!-- 数据表格 -->
            <table class="layui-hide" id="conf-table" lay-filter="conf-table"></table>

            <script type="text/html" id="toolbar">
                <div class="layui-btn-container">
                    <button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
                </div>
            </script>

        </div>
    </div>
</div>

<script type="text/html" id="editTpl">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
</script>

<script type="text/html" id="switchStatusTpl">
    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="ON|OFF" lay-filter="status" {{
           d.status== 2 ? 'checked' : '' }}>
</script>

<script type="text/html" id="sortInput">
    <input type="number" class="layui-input sort" name="status" value="{{d.sort}}" lay-filter="sort">
</script>


<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/",
        version: version,
    }).extend({
        oms_conf_distributereason_list: "conf/distributereason/zmn.oms.conf.distributereason.list"
    }).use(['oms_conf_distributereason_list']);
</script>

</body>
</html>